﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SAM_Edu.control;
using System.Drawing;



namespace SAM_Edu.entity
{
     
   public class User
    {
        private string firstName;
        private string middleName;
        private string lastName;
        private string otherName;
        private string emailid;
        private int mobileCountryCode;
        private int mobileAreaCode;
        private int mobileNumber;
        //private string photo; //store photo using filelocation?
        private int Userid;
        private Image photo;

        public User(string fname,string mname,string lname,string oname,string email, int Ccode, int ACode,int mNo, int uid, Image img)
        {
            Userid = uid;
            firstName = fname;
            middleName = mname;
            lastName = lname;
            otherName = oname;
            emailid = email;
            mobileCountryCode = Ccode;
            mobileAreaCode = ACode;
            mobileNumber = mNo;
            photo = img;
        }

        public User(int userid)
        {
            Userid = userid;
        }
        public Image Photo
        {
            get
            {
                return this.photo;
            }
            set
            {
                this.photo = value;
            }
        }
        public int UID
        {
            get
            {
                return this.Userid;
            }
            set
            {
                this.Userid = value;
            }
        }
        public string FirstName
        {
            get
            {
                return this.firstName;
            }
            set
            {
                this.firstName = value;
            }
        }
        public string MiddleName
        {
            get
            {
                return this.middleName;
            }
            set
            {
                this.middleName = value;
            }
        }
        public string LastName
        {
            get
            {
                return this.lastName;
            }
            set
            {
                this.lastName = value;
            }
        }
        public string OtherName
        {
            get
            {
                return this.otherName;
            }
            set
            {
                this.otherName = value;
            }
        }
        public string Email
        {
            get
            {
                return this.emailid;
            }
            set
            {
                this.emailid = value;
            }
        }
        public int CountryCode
        {
            get
            {
                return this.mobileCountryCode;
            }
            set
            {
                this.mobileCountryCode = value;
            }
        }
        public int AreaCode
        {
            get
            {
                return this.mobileAreaCode;
            }
            set
            {
                this.mobileAreaCode = value;
            }
        }
        public int MobileNumber
        {
            get
            {
                return this.mobileNumber;
            }
            set
            {
                this.mobileNumber = value;
            }
        }
        
   
       
    }
}